package com.wqiuqiu.gulimall.order.feign;


import com.wqiuqiu.common.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("gulimall-member")
public interface MemberFeignService {
    @RequestMapping("/member/memberreceiveaddress/memberInfo/{memberId}")
    R infoByMemberId(@PathVariable("memberId") Long memberId);

    @RequestMapping("/member/memberreceiveaddress/info/{id}")
    R receiveaddressInfo(@PathVariable("id") Long id);

    @RequestMapping("/member/member/info/{id}")
    R info(@PathVariable("id") Long id);

    @RequestMapping("/member/memberreceiveaddress/fare")
    R fare(@RequestParam("addrId") Long addrId);


}
